#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	for (int num = 100; num <= 200; num++)
	{
		int flag = 1;
		for (int check = 2 ; check < num ; check++)
			if (num % check == 0)
			{
				flag = 0;
				break;
			}
		if (flag == 1)
			printf("%d ", num);
	}

	return 0;
}